<tagLib name="strends" />
<include file="Public:header" />
<script>
	function check(){
		var web = $('input:radio[name="speweb"]:checked').val();		
		var webfile = $('input:file[name="spesub"]').val();	
		if(webfile==''){
			$('#checkfile').show(400);
			return false;
		}else if(web==undefined){
			$('#checkweb').show(400);
			return false;
		}else{
			$('#checkfile').hide();
			$('#checkweb').hide();
			return true;
		}
	}
</script>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/insert')}" onsubmit='return check()' enctype="multipart/form-data">
<table cellpadding="4" cellspacing="0" border="0" class="table-form">
	<tr>
		<th width="200">{%UPLOAD}</th>
		<td>
			<input type='file' name='spesub' /><span style='margin-left:-50px;color:green;'>必须是<font color='red' size='4'>.zip</font>格式压缩包</span>
			<span id='checkfile' style='display:none;margin-left:80px;color:red;'>！你还没有选择要上传的文件</span>
		</td>
	</tr>
	<tr>
		<th>{%WEB}</th>
		<td>
			<input type='radio' name='speweb' value='housestyle' />房产&nbsp;
			<input type='radio' name='speweb' value='autostyle' />汽车&nbsp;
			<input type='radio' name='speweb' value='trendstyle' />时尚&nbsp;
			<span id='checkweb' style='display:none;margin-left:80px;color:red;'>！必须选择专题所属的网站</span>
		</td>	
	</tr>
	<tr class="act">
		<th>&nbsp;</th>
		<td>
			<input type="submit" class="submit_btn" value="{%SUBMIT}" />
			<input type="reset" class="reset_btn" value="{%RESET}" />
		</td>
	</tr>
</table>
</form>
<include file="Public:footer" />
		